package com.zbl.zblproject.core.entity;

import com.zbl.zblproject.erp.entity.ErpTempOrderItem;

import java.util.List;
import java.util.Map;

/**
 * @author youlanqiang
 * @version 1.0
 * @date 2018/10/17
 * 工厂订单实体类
 */
public class FactoryOrder {


    private Supplier supplier;

    private int ctrlShow;

    /**
     * 工厂下的全部订单
     */
    private List<ErpTempOrderItem> allItem;

    /**
     * 工厂下的门店订单
     */
    private List<FactoryItem> userItem;


    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    public List<ErpTempOrderItem> getAllItem() {
        return allItem;
    }

    public void setAllItem(List<ErpTempOrderItem> allItem) {
        this.allItem = allItem;
    }

    public List<FactoryItem> getUserItem() {
        return userItem;
    }

    public void setUserItem(List<FactoryItem> userItem) {
        this.userItem = userItem;
    }

    public int getCtrlShow() {
        return ctrlShow;
    }

    public void setCtrlShow(int ctrlShow) {
        this.ctrlShow = ctrlShow;
    }

    @Override
    public String toString() {
        return "FactoryOrder{" +
                "supplier=" + supplier +
                ", allItem=" + allItem +
                ", userItem=" + userItem +
                '}';
    }
}
